/*
CREATE TABLE "base_de_cslb_relation" (
  "sequence_nbr" varchar PRIMARY KEY NOT NULL,
  "is_main" varchar,
  "sgzj_class_name" varchar,
  "rec_user_code" varchar,
  "rec_status" varchar DEFAULT ('A'),
  "rec_date" varchar,
  "extend1" varchar,
  "extend2" varchar,
  "extend3" varchar,
  "description" varchar,
  "rate_name" varchar,
  "rate_code" varchar
);
*/
use rbatis::crud;
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct BaseDeCslbRelation {
    pub sequence_nbr: String,
    pub is_main: Option<String>,
    pub sgzj_class_name: Option<String>,
    pub rec_user_code: Option<String>,
    pub rec_status: Option<String>,
    pub rec_date: Option<String>,
    pub extend1: Option<String>,
    pub extend2: Option<String>,
    pub extend3: Option<String>,
    pub description: Option<String>,
    pub rate_name: Option<String>,
    pub rate_code: Option<String>,
}
crud!(BaseDeCslbRelation {}, "base_de_cslb_relation");
